Skip to content

Conversation

@tzolov
Copy link
Contributor

@tzolov tzolov commented Mar 11, 2025

  • Add prefixedToolName utility method to ensure consistent tool name formatting
  • Enforce alphanumeric, underscore, and hyphen characters only in tool names
  • Limit tool names to 64 characters maximum
  • Use original tool name in actual calls while using formatted names in definitions
  • Add error handling for tool call responses in SyncMcpToolCallback
  • Update tests to reflect the changes

Resolves issues introduced by #2436

…ling

- Add prefixedToolName utility method to ensure consistent tool name formatting
- E nforce alphanumeric, underscore, and hyphen characters only in tool names
- Limit tool names to 64 characters maximum
- Use original tool name in actual calls while using formatted names in definitions
- Add error handling for tool call responses in SyncMcpToolCallback
- Update tests to reflect the changes

Signed-off-by: Christian Tzolov <[email protected]>
@tzolov tzolov added this to the 1.0.0-M7 milestone Mar 11, 2025
@tzolov tzolov self-assigned this Mar 11, 2025
@tzolov tzolov merged commit 3f7f2f1 into spring-projects:main Mar 11, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant